package com.tunxing.创建型.建造者设计模式;

public class ComputerDirector {

    public static Computer buildComputer(ComputerBuilder builder) {
        builder.buildCpu();
        builder.buildMemory();
        builder.buildDisk();
        return builder.getInstance();
    }
}
